//
//  Texture.h
//  CompGraf2
//
//  Created by Juan Niosi on 11/08/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>
#import <OpenGLES/ES2/gl.h>
#import <OpenGLES/ES2/glext.h>

@interface Texture : NSObject
{
    GLubyte *data;
    GLuint tex_id;
}
@property (nonatomic) GLubyte *data;
@property (nonatomic) GLuint tex_id;

- (id)initWithTex:(GLubyte *)imgData:(GLuint)texId;
@end
